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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (120) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/build/browser/_components.d.ts +4 -0
  3. package/build/browser/_components.d.ts.map +1 -0
  4. package/build/browser/_components.js +17 -0
  5. package/build/browser/_components.js.map +1 -0
  6. package/build/browser/_errors.d.ts +4 -0
  7. package/build/browser/_errors.d.ts.map +1 -0
  8. package/build/browser/_errors.js +17 -0
  9. package/build/browser/_errors.js.map +1 -0
  10. package/build/browser/index.d.ts +11 -0
  11. package/build/browser/index.d.ts.map +1 -0
  12. package/build/browser/index.js +23 -10
  13. package/build/browser/index.js.map +1 -1
  14. package/build/browser/public/Action.d.ts +105 -0
  15. package/build/browser/public/Action.d.ts.map +1 -0
  16. package/build/browser/public/Action.js +108 -3
  17. package/build/browser/public/Action.js.map +1 -1
  18. package/build/browser/public/ActionType.d.ts +37 -0
  19. package/build/browser/public/ActionType.d.ts.map +1 -0
  20. package/build/browser/public/ActionType.js +48 -3
  21. package/build/browser/public/ActionType.js.map +1 -1
  22. package/build/browser/public/Attachment.d.ts +51 -0
  23. package/build/browser/public/Attachment.d.ts.map +1 -0
  24. package/build/browser/public/Attachment.js +71 -3
  25. package/build/browser/public/Attachment.js.map +1 -1
  26. package/build/browser/public/ObjectType.d.ts +70 -0
  27. package/build/browser/public/ObjectType.d.ts.map +1 -0
  28. package/build/browser/public/ObjectType.js +79 -3
  29. package/build/browser/public/ObjectType.js.map +1 -1
  30. package/build/browser/public/Ontology.d.ts +25 -0
  31. package/build/browser/public/Ontology.d.ts.map +1 -0
  32. package/build/browser/public/Ontology.js +45 -3
  33. package/build/browser/public/Ontology.js.map +1 -1
  34. package/build/browser/public/OntologyObject.d.ts +162 -0
  35. package/build/browser/public/OntologyObject.d.ts.map +1 -0
  36. package/build/browser/public/OntologyObject.js +150 -3
  37. package/build/browser/public/OntologyObject.js.map +1 -1
  38. package/build/browser/public/Query.d.ts +18 -0
  39. package/build/browser/public/Query.d.ts.map +1 -0
  40. package/build/browser/public/Query.js +31 -3
  41. package/build/browser/public/Query.js.map +1 -1
  42. package/build/browser/public/QueryType.d.ts +34 -0
  43. package/build/browser/public/QueryType.d.ts.map +1 -0
  44. package/build/browser/public/QueryType.js +48 -3
  45. package/build/browser/public/QueryType.js.map +1 -1
  46. package/build/esm/_components.js +17 -0
  47. package/build/esm/_components.js.map +1 -0
  48. package/build/esm/_errors.js +17 -0
  49. package/build/esm/_errors.js.map +1 -0
  50. package/build/esm/index.js +23 -10
  51. package/build/esm/index.js.map +1 -1
  52. package/build/esm/public/Action.d.ts +22 -22
  53. package/build/esm/public/Action.d.ts.map +1 -1
  54. package/build/esm/public/Action.js +108 -3
  55. package/build/esm/public/Action.js.map +1 -1
  56. package/build/esm/public/ActionType.d.ts +9 -6
  57. package/build/esm/public/ActionType.d.ts.map +1 -1
  58. package/build/esm/public/ActionType.js +48 -3
  59. package/build/esm/public/ActionType.js.map +1 -1
  60. package/build/esm/public/Attachment.d.ts +6 -6
  61. package/build/esm/public/Attachment.d.ts.map +1 -1
  62. package/build/esm/public/Attachment.js +71 -3
  63. package/build/esm/public/Attachment.js.map +1 -1
  64. package/build/esm/public/ObjectType.d.ts +15 -15
  65. package/build/esm/public/ObjectType.d.ts.map +1 -1
  66. package/build/esm/public/ObjectType.js +79 -3
  67. package/build/esm/public/ObjectType.js.map +1 -1
  68. package/build/esm/public/Ontology.d.ts +3 -3
  69. package/build/esm/public/Ontology.d.ts.map +1 -1
  70. package/build/esm/public/Ontology.js +45 -3
  71. package/build/esm/public/Ontology.js.map +1 -1
  72. package/build/esm/public/OntologyObject.d.ts +37 -37
  73. package/build/esm/public/OntologyObject.d.ts.map +1 -1
  74. package/build/esm/public/OntologyObject.js +150 -3
  75. package/build/esm/public/OntologyObject.js.map +1 -1
  76. package/build/esm/public/Query.d.ts +5 -5
  77. package/build/esm/public/Query.d.ts.map +1 -1
  78. package/build/esm/public/Query.js +31 -3
  79. package/build/esm/public/Query.js.map +1 -1
  80. package/build/esm/public/QueryType.d.ts +6 -6
  81. package/build/esm/public/QueryType.d.ts.map +1 -1
  82. package/build/esm/public/QueryType.js +48 -3
  83. package/build/esm/public/QueryType.js.map +1 -1
  84. package/package.json +7 -8
  85. package/build/browser/chunk-5RUWELWF.js +0 -21
  86. package/build/browser/chunk-5RUWELWF.js.map +0 -1
  87. package/build/browser/chunk-ABHCL2BI.js +0 -21
  88. package/build/browser/chunk-ABHCL2BI.js.map +0 -1
  89. package/build/browser/chunk-ATSSLGFA.js +0 -31
  90. package/build/browser/chunk-ATSSLGFA.js.map +0 -1
  91. package/build/browser/chunk-MONAXU3N.js +0 -36
  92. package/build/browser/chunk-MONAXU3N.js.map +0 -1
  93. package/build/browser/chunk-PZ5AY32C.js +0 -9
  94. package/build/browser/chunk-PZ5AY32C.js.map +0 -1
  95. package/build/browser/chunk-SALCOSHR.js +0 -16
  96. package/build/browser/chunk-SALCOSHR.js.map +0 -1
  97. package/build/browser/chunk-UM4N5F6D.js +0 -21
  98. package/build/browser/chunk-UM4N5F6D.js.map +0 -1
  99. package/build/browser/chunk-VBZZKGHE.js +0 -41
  100. package/build/browser/chunk-VBZZKGHE.js.map +0 -1
  101. package/build/browser/chunk-YCOLCQXU.js +0 -31
  102. package/build/browser/chunk-YCOLCQXU.js.map +0 -1
  103. package/build/esm/chunk-5RUWELWF.js +0 -21
  104. package/build/esm/chunk-5RUWELWF.js.map +0 -1
  105. package/build/esm/chunk-ABHCL2BI.js +0 -21
  106. package/build/esm/chunk-ABHCL2BI.js.map +0 -1
  107. package/build/esm/chunk-ATSSLGFA.js +0 -31
  108. package/build/esm/chunk-ATSSLGFA.js.map +0 -1
  109. package/build/esm/chunk-MONAXU3N.js +0 -36
  110. package/build/esm/chunk-MONAXU3N.js.map +0 -1
  111. package/build/esm/chunk-PZ5AY32C.js +0 -9
  112. package/build/esm/chunk-PZ5AY32C.js.map +0 -1
  113. package/build/esm/chunk-SALCOSHR.js +0 -16
  114. package/build/esm/chunk-SALCOSHR.js.map +0 -1
  115. package/build/esm/chunk-UM4N5F6D.js +0 -21
  116. package/build/esm/chunk-UM4N5F6D.js.map +0 -1
  117. package/build/esm/chunk-VBZZKGHE.js +0 -41
  118. package/build/esm/chunk-VBZZKGHE.js.map +0 -1
  119. package/build/esm/chunk-YCOLCQXU.js +0 -31
  120. package/build/esm/chunk-YCOLCQXU.js.map +0 -1
@@ -1,4 +1,151 @@
1
- export { aggregateObjects, getLinkedObject, getObject, listLinkedObjects, listObjects, searchObjects } from '../chunk-VBZZKGHE.js';
2
- import '../chunk-PZ5AY32C.js';
3
- //# sourceMappingURL=OntologyObject.js.map
1
+ /*
2
+ * Copyright 2024 Palantir Technologies, Inc. All rights reserved.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ import { foundryPlatformFetch as $foundryPlatformFetch } from "@osdk/shared.net.platformapi";
17
+ //
18
+ const _listObjects = [0, "/v1/ontologies/{0}/objects/{1}", 2];
19
+ /**
20
+ * Lists the objects for the given Ontology and object type.
21
+ *
22
+ * This endpoint supports filtering objects.
23
+ * See the [Filtering Objects documentation](https://www.palantir.com/docs/foundry/api/ontology-resources/objects/object-basics/#filtering-objects) for details.
24
+ *
25
+ * Note that this endpoint does not guarantee consistency. Changes to the data could result in missing or
26
+ * repeated objects in the response pages.
27
+ *
28
+ * 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
29
+ * 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.
30
+ *
31
+ * Each page may be smaller or larger than the requested page size. However, it
32
+ * is guaranteed that if there are more results available, at least one result will be present
33
+ * in the response.
34
+ *
35
+ * Note that null value properties will not be returned.
36
+ *
37
+ * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
38
+ *
39
+ * @public
40
+ *
41
+ * Required Scopes: [api:ontologies-read]
42
+ * URL: /v1/ontologies/{ontologyRid}/objects/{objectType}
43
+ */
44
+ export function listObjects($ctx, ...args) {
45
+ return $foundryPlatformFetch($ctx, _listObjects, ...args);
46
+ }
47
+ const _getObject = [0, "/v1/ontologies/{0}/objects/{1}/{2}", 2];
48
+ /**
49
+ * Gets a specific object with the given primary key.
50
+ *
51
+ * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
52
+ *
53
+ * @public
54
+ *
55
+ * Required Scopes: [api:ontologies-read]
56
+ * URL: /v1/ontologies/{ontologyRid}/objects/{objectType}/{primaryKey}
57
+ */
58
+ export function getObject($ctx, ...args) {
59
+ return $foundryPlatformFetch($ctx, _getObject, ...args);
60
+ }
61
+ const _listLinkedObjects = [0, "/v1/ontologies/{0}/objects/{1}/{2}/links/{3}", 2];
62
+ /**
63
+ * Lists the linked objects for a specific object and the given link type.
64
+ *
65
+ * This endpoint supports filtering objects.
66
+ * See the [Filtering Objects documentation](https://www.palantir.com/docs/foundry/api/ontology-resources/objects/object-basics/#filtering-objects) for details.
67
+ *
68
+ * Note that this endpoint does not guarantee consistency. Changes to the data could result in missing or
69
+ * repeated objects in the response pages.
70
+ *
71
+ * 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
72
+ * 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.
73
+ *
74
+ * Each page may be smaller or larger than the requested page size. However, it
75
+ * is guaranteed that if there are more results available, at least one result will be present
76
+ * in the response.
77
+ *
78
+ * Note that null value properties will not be returned.
79
+ *
80
+ * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
81
+ *
82
+ * @public
83
+ *
84
+ * Required Scopes: [api:ontologies-read]
85
+ * URL: /v1/ontologies/{ontologyRid}/objects/{objectType}/{primaryKey}/links/{linkType}
86
+ */
87
+ export function listLinkedObjects($ctx, ...args) {
88
+ return $foundryPlatformFetch($ctx, _listLinkedObjects, ...args);
89
+ }
90
+ const _getLinkedObject = [0, "/v1/ontologies/{0}/objects/{1}/{2}/links/{3}/{4}", 2];
91
+ /**
92
+ * Get a specific linked object that originates from another object. If there is no link between the two objects,
93
+ * LinkedObjectNotFound is thrown.
94
+ *
95
+ * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
96
+ *
97
+ * @public
98
+ *
99
+ * Required Scopes: [api:ontologies-read]
100
+ * URL: /v1/ontologies/{ontologyRid}/objects/{objectType}/{primaryKey}/links/{linkType}/{linkedObjectPrimaryKey}
101
+ */
102
+ export function getLinkedObject($ctx, ...args) {
103
+ return $foundryPlatformFetch($ctx, _getLinkedObject, ...args);
104
+ }
105
+ const _searchObjects = [1, "/v1/ontologies/{0}/objects/{1}/search", 1];
106
+ /**
107
+ * Search for objects in the specified ontology and object type. The request body is used
108
+ * to filter objects based on the specified query. The supported queries are:
109
+ *
110
+ * | Query type | Description | Supported Types |
111
+ * |----------|-----------------------------------------------------------------------------------|---------------------------------|
112
+ * | lt | The provided property is less than the provided value. | number, string, date, timestamp |
113
+ * | gt | The provided property is greater than the provided value. | number, string, date, timestamp |
114
+ * | lte | The provided property is less than or equal to the provided value. | number, string, date, timestamp |
115
+ * | gte | The provided property is greater than or equal to the provided value. | number, string, date, timestamp |
116
+ * | eq | The provided property is exactly equal to the provided value. | number, string, date, timestamp |
117
+ * | isNull | The provided property is (or is not) null. | all |
118
+ * | contains | The provided property contains the provided value. | array |
119
+ * | not | The sub-query does not match. | N/A (applied on a query) |
120
+ * | and | All the sub-queries match. | N/A (applied on queries) |
121
+ * | or | At least one of the sub-queries match. | N/A (applied on queries) |
122
+ * | prefix | The provided property starts with the provided value. | string |
123
+ * | phrase | The provided property contains the provided value as a substring. | string |
124
+ * | anyTerm | The provided property contains at least one of the terms separated by whitespace. | string |
125
+ * | allTerms | The provided property contains all the terms separated by whitespace. | string | |
126
+ *
127
+ * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
128
+ *
129
+ * @public
130
+ *
131
+ * Required Scopes: [api:ontologies-read]
132
+ * URL: /v1/ontologies/{ontologyRid}/objects/{objectType}/search
133
+ */
134
+ export function searchObjects($ctx, ...args) {
135
+ return $foundryPlatformFetch($ctx, _searchObjects, ...args);
136
+ }
137
+ const _aggregateObjects = [1, "/v1/ontologies/{0}/objects/{1}/aggregate", 1];
138
+ /**
139
+ * Perform functions on object fields in the specified ontology and object type.
140
+ *
141
+ * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
142
+ *
143
+ * @public
144
+ *
145
+ * Required Scopes: [api:ontologies-read]
146
+ * URL: /v1/ontologies/{ontologyRid}/objects/{objectType}/aggregate
147
+ */
148
+ export function aggregateObjects($ctx, ...args) {
149
+ return $foundryPlatformFetch($ctx, _aggregateObjects, ...args);
150
+ }
4
151
  //# sourceMappingURL=OntologyObject.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","file":"OntologyObject.js"}
1
+ {"version":3,"file":"OntologyObject.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_listObjects","listObjects","$ctx","args","_getObject","getObject","_listLinkedObjects","listLinkedObjects","_getLinkedObject","getLinkedObject","_searchObjects","searchObjects","_aggregateObjects","aggregateObjects"],"sources":["OntologyObject.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 _listObjects = [0, \"/v1/ontologies/{0}/objects/{1}\", 2];\n/**\n * Lists the objects for the given Ontology and object type.\n *\n * This endpoint supports filtering objects.\n * See the [Filtering Objects documentation](https://www.palantir.com/docs/foundry/api/ontology-resources/objects/object-basics/#filtering-objects) for details.\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: /v1/ontologies/{ontologyRid}/objects/{objectType}\n */\nexport function listObjects($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _listObjects, ...args);\n}\nconst _getObject = [0, \"/v1/ontologies/{0}/objects/{1}/{2}\", 2];\n/**\n * Gets a specific object with the given primary key.\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}/objects/{objectType}/{primaryKey}\n */\nexport function getObject($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getObject, ...args);\n}\nconst _listLinkedObjects = [0, \"/v1/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 * This endpoint supports filtering objects.\n * See the [Filtering Objects documentation](https://www.palantir.com/docs/foundry/api/ontology-resources/objects/object-basics/#filtering-objects) for details.\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: /v1/ontologies/{ontologyRid}/objects/{objectType}/{primaryKey}/links/{linkType}\n */\nexport function listLinkedObjects($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _listLinkedObjects, ...args);\n}\nconst _getLinkedObject = [0, \"/v1/ontologies/{0}/objects/{1}/{2}/links/{3}/{4}\", 2];\n/**\n * Get a specific linked object that originates from another object. If there is no link between the two objects,\n * 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: /v1/ontologies/{ontologyRid}/objects/{objectType}/{primaryKey}/links/{linkType}/{linkedObjectPrimaryKey}\n */\nexport function getLinkedObject($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getLinkedObject, ...args);\n}\nconst _searchObjects = [1, \"/v1/ontologies/{0}/objects/{1}/search\", 1];\n/**\n * Search for objects in the specified ontology and object type. The request body is used\n * to filter objects based on the specified query. The supported queries are:\n *\n * | Query type | Description | Supported Types |\n * |----------|-----------------------------------------------------------------------------------|---------------------------------|\n * | lt | The provided property is less than the provided value. | number, string, date, timestamp |\n * | gt | The provided property is greater than the provided value. | number, string, date, timestamp |\n * | lte | The provided property is less than or equal to the provided value. | number, string, date, timestamp |\n * | gte | The provided property is greater than or equal to the provided value. | number, string, date, timestamp |\n * | eq | The provided property is exactly equal to the provided value. | number, string, date, timestamp |\n * | isNull | The provided property is (or is not) null. | all |\n * | contains | The provided property contains the provided value. | array |\n * | not | The sub-query does not match. | N/A (applied on a query) |\n * | and | All the sub-queries match. | N/A (applied on queries) |\n * | or | At least one of the sub-queries match. | N/A (applied on queries) |\n * | prefix | The provided property starts with the provided value. | string |\n * | phrase | The provided property contains the provided value as a substring. | string |\n * | anyTerm | The provided property contains at least one of the terms separated by whitespace. | string |\n * | allTerms | The provided property contains all the terms separated by whitespace. | string | |\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}/objects/{objectType}/search\n */\nexport function searchObjects($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _searchObjects, ...args);\n}\nconst _aggregateObjects = [1, \"/v1/ontologies/{0}/objects/{1}/aggregate\", 1];\n/**\n * Perform functions on object fields in the specified ontology and object type.\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}/objects/{objectType}/aggregate\n */\nexport function aggregateObjects($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _aggregateObjects, ...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,gCAAgC,EAAE,CAAC,CAAC;AAC7D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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,UAAU,GAAG,CAAC,CAAC,EAAE,oCAAoC,EAAE,CAAC,CAAC;AAC/D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,SAASA,CAACH,IAAI,EAAE,GAAGC,IAAI,EAAE;EACrC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEE,UAAU,EAAE,GAAGD,IAAI,CAAC;AAC3D;AACA,MAAMG,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;AACA;AACA;AACA,OAAO,SAASC,iBAAiBA,CAACL,IAAI,EAAE,GAAGC,IAAI,EAAE;EAC7C,OAAOJ,qBAAqB,CAACG,IAAI,EAAEI,kBAAkB,EAAE,GAAGH,IAAI,CAAC;AACnE;AACA,MAAMK,gBAAgB,GAAG,CAAC,CAAC,EAAE,kDAAkD,EAAE,CAAC,CAAC;AACnF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,eAAeA,CAACP,IAAI,EAAE,GAAGC,IAAI,EAAE;EAC3C,OAAOJ,qBAAqB,CAACG,IAAI,EAAEM,gBAAgB,EAAE,GAAGL,IAAI,CAAC;AACjE;AACA,MAAMO,cAAc,GAAG,CAAC,CAAC,EAAE,uCAAuC,EAAE,CAAC,CAAC;AACtE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA,MAAMS,iBAAiB,GAAG,CAAC,CAAC,EAAE,0CAA0C,EAAE,CAAC,CAAC;AAC5E;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,gBAAgBA,CAACX,IAAI,EAAE,GAAGC,IAAI,EAAE;EAC5C,OAAOJ,qBAAqB,CAACG,IAAI,EAAEU,iBAAiB,EAAE,GAAGT,IAAI,CAAC;AAClE","ignoreList":[]}
@@ -1,4 +1,4 @@
1
- import type { ExecuteQueryRequest, ExecuteQueryResponse, OntologyRid, QueryApiName } from "@osdk/internal.foundry.core";
1
+ import type * as _Core from "@osdk/internal.foundry.core";
2
2
  import type { SharedClient as $Client, SharedClientContext as $ClientContext } from "@osdk/shared.client";
3
3
  /**
4
4
  * Executes a Query using the given parameters. Optional parameters do not need to be supplied.
@@ -11,8 +11,8 @@ import type { SharedClient as $Client, SharedClientContext as $ClientContext } f
11
11
  * URL: /v1/ontologies/{ontologyRid}/queries/{queryApiName}/execute
12
12
  */
13
13
  export declare function executeQuery($ctx: $Client | $ClientContext, ...args: [
14
- ontologyRid: OntologyRid,
15
- queryApiName: QueryApiName,
16
- $body: ExecuteQueryRequest
17
- ]): Promise<ExecuteQueryResponse>;
14
+ ontologyRid: _Core.OntologyRid,
15
+ queryApiName: _Core.QueryApiName,
16
+ $body: _Core.ExecuteQueryRequest
17
+ ]): Promise<_Core.ExecuteQueryResponse>;
18
18
  //# sourceMappingURL=Query.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Query.d.ts","sourceRoot":"","sources":["../../../src/public/Query.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EACV,mBAAmB,EACnB,oBAAoB,EACpB,WAAW,EACX,YAAY,EACb,MAAM,6BAA6B,CAAC;AACrC,OAAO,KAAK,EACV,YAAY,IAAI,OAAO,EACvB,mBAAmB,IAAI,cAAc,EACtC,MAAM,qBAAqB,CAAC;AAc7B;;;;;;;;;GASG;AACH,wBAAgB,YAAY,CAC1B,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,GAAG,IAAI,EAAE;IACP,WAAW,EAAE,WAAW;IACxB,YAAY,EAAE,YAAY;IAC1B,KAAK,EAAE,mBAAmB;CAC3B,GACA,OAAO,CAAC,oBAAoB,CAAC,CAE/B"}
1
+ {"version":3,"file":"Query.d.ts","sourceRoot":"","sources":["../../../src/public/Query.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,KAAK,KAAK,MAAM,6BAA6B,CAAC;AAC1D,OAAO,KAAK,EACV,YAAY,IAAI,OAAO,EACvB,mBAAmB,IAAI,cAAc,EACtC,MAAM,qBAAqB,CAAC;AAc7B;;;;;;;;;GASG;AACH,wBAAgB,YAAY,CAC1B,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,GAAG,IAAI,EAAE;IACP,WAAW,EAAE,KAAK,CAAC,WAAW;IAC9B,YAAY,EAAE,KAAK,CAAC,YAAY;IAChC,KAAK,EAAE,KAAK,CAAC,mBAAmB;CACjC,GACA,OAAO,CAAC,KAAK,CAAC,oBAAoB,CAAC,CAErC"}
@@ -1,4 +1,32 @@
1
- export { executeQuery } from '../chunk-SALCOSHR.js';
2
- import '../chunk-PZ5AY32C.js';
3
- //# sourceMappingURL=Query.js.map
1
+ /*
2
+ * Copyright 2024 Palantir Technologies, Inc. All rights reserved.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ import { foundryPlatformFetch as $foundryPlatformFetch } from "@osdk/shared.net.platformapi";
17
+ //
18
+ const _executeQuery = [1, "/v1/ontologies/{0}/queries/{1}/execute", 1];
19
+ /**
20
+ * Executes a Query using the given parameters. Optional parameters do not need to be supplied.
21
+ * Third-party applications using this endpoint via OAuth2 must request the
22
+ * following operation scopes: `api:ontologies-read`.
23
+ *
24
+ * @public
25
+ *
26
+ * Required Scopes: [api:ontologies-read]
27
+ * URL: /v1/ontologies/{ontologyRid}/queries/{queryApiName}/execute
28
+ */
29
+ export function executeQuery($ctx, ...args) {
30
+ return $foundryPlatformFetch($ctx, _executeQuery, ...args);
31
+ }
4
32
  //# sourceMappingURL=Query.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","file":"Query.js"}
1
+ {"version":3,"file":"Query.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_executeQuery","executeQuery","$ctx","args"],"sources":["Query.js"],"sourcesContent":["/*\n * Copyright 2024 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { foundryPlatformFetch as $foundryPlatformFetch } from \"@osdk/shared.net.platformapi\";\n//\nconst _executeQuery = [1, \"/v1/ontologies/{0}/queries/{1}/execute\", 1];\n/**\n * Executes a Query using the given parameters. Optional parameters do not need to be supplied.\n * Third-party applications using this endpoint via OAuth2 must request the\n * following operation scopes: `api:ontologies-read`.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v1/ontologies/{ontologyRid}/queries/{queryApiName}/execute\n */\nexport function executeQuery($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _executeQuery, ...args);\n}\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAASA,oBAAoB,IAAIC,qBAAqB,QAAQ,8BAA8B;AAC5F;AACA,MAAMC,aAAa,GAAG,CAAC,CAAC,EAAE,wCAAwC,EAAE,CAAC,CAAC;AACtE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,YAAYA,CAACC,IAAI,EAAE,GAAGC,IAAI,EAAE;EACxC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEF,aAAa,EAAE,GAAGG,IAAI,CAAC;AAC9D","ignoreList":[]}
@@ -1,4 +1,4 @@
1
- import type { ListQueryTypesResponse, OntologyRid, PageSize, PageToken, QueryApiName, QueryType } from "@osdk/internal.foundry.core";
1
+ import type * as _Core from "@osdk/internal.foundry.core";
2
2
  import type { SharedClient as $Client, SharedClientContext as $ClientContext } from "@osdk/shared.client";
3
3
  /**
4
4
  * Lists the query types for the given Ontology.
@@ -14,12 +14,12 @@ import type { SharedClient as $Client, SharedClientContext as $ClientContext } f
14
14
  * URL: /v1/ontologies/{ontologyRid}/queryTypes
15
15
  */
16
16
  export declare function listQueryTypes($ctx: $Client | $ClientContext, ...args: [
17
- ontologyRid: OntologyRid,
17
+ ontologyRid: _Core.OntologyRid,
18
18
  $queryParams?: {
19
- pageSize?: PageSize | undefined;
20
- pageToken?: PageToken | undefined;
19
+ pageSize?: _Core.PageSize | undefined;
20
+ pageToken?: _Core.PageToken | undefined;
21
21
  }
22
- ]): Promise<ListQueryTypesResponse>;
22
+ ]): Promise<_Core.ListQueryTypesResponse>;
23
23
  /**
24
24
  * Gets a specific query type with the given API name.
25
25
  *
@@ -30,5 +30,5 @@ export declare function listQueryTypes($ctx: $Client | $ClientContext, ...args:
30
30
  * Required Scopes: [api:ontologies-read]
31
31
  * URL: /v1/ontologies/{ontologyRid}/queryTypes/{queryApiName}
32
32
  */
33
- export declare function getQueryType($ctx: $Client | $ClientContext, ...args: [ontologyRid: OntologyRid, queryApiName: QueryApiName]): Promise<QueryType>;
33
+ export declare function getQueryType($ctx: $Client | $ClientContext, ...args: [ontologyRid: _Core.OntologyRid, queryApiName: _Core.QueryApiName]): Promise<_Core.QueryType>;
34
34
  //# sourceMappingURL=QueryType.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"QueryType.d.ts","sourceRoot":"","sources":["../../../src/public/QueryType.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EACV,sBAAsB,EACtB,WAAW,EACX,QAAQ,EACR,SAAS,EACT,YAAY,EACZ,SAAS,EACV,MAAM,6BAA6B,CAAC;AACrC,OAAO,KAAK,EACV,YAAY,IAAI,OAAO,EACvB,mBAAmB,IAAI,cAAc,EACtC,MAAM,qBAAqB,CAAC;AAgB7B;;;;;;;;;;;;GAYG;AACH,wBAAgB,cAAc,CAC5B,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,GAAG,IAAI,EAAE;IACP,WAAW,EAAE,WAAW;IAExB,YAAY,CAAC,EAAE;QACb,QAAQ,CAAC,EAAE,QAAQ,GAAG,SAAS,CAAC;QAChC,SAAS,CAAC,EAAE,SAAS,GAAG,SAAS,CAAC;KACnC;CACF,GACA,OAAO,CAAC,sBAAsB,CAAC,CAEjC;AAMD;;;;;;;;;GASG;AACH,wBAAgB,YAAY,CAC1B,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,GAAG,IAAI,EAAE,CAAC,WAAW,EAAE,WAAW,EAAE,YAAY,EAAE,YAAY,CAAC,GAC9D,OAAO,CAAC,SAAS,CAAC,CAEpB"}
1
+ {"version":3,"file":"QueryType.d.ts","sourceRoot":"","sources":["../../../src/public/QueryType.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,KAAK,KAAK,MAAM,6BAA6B,CAAC;AAC1D,OAAO,KAAK,EACV,YAAY,IAAI,OAAO,EACvB,mBAAmB,IAAI,cAAc,EACtC,MAAM,qBAAqB,CAAC;AAgB7B;;;;;;;;;;;;GAYG;AACH,wBAAgB,cAAc,CAC5B,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,GAAG,IAAI,EAAE;IACP,WAAW,EAAE,KAAK,CAAC,WAAW;IAE9B,YAAY,CAAC,EAAE;QACb,QAAQ,CAAC,EAAE,KAAK,CAAC,QAAQ,GAAG,SAAS,CAAC;QACtC,SAAS,CAAC,EAAE,KAAK,CAAC,SAAS,GAAG,SAAS,CAAC;KACzC;CACF,GACA,OAAO,CAAC,KAAK,CAAC,sBAAsB,CAAC,CAEvC;AASD;;;;;;;;;GASG;AACH,wBAAgB,YAAY,CAC1B,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,GAAG,IAAI,EAAE,CAAC,WAAW,EAAE,KAAK,CAAC,WAAW,EAAE,YAAY,EAAE,KAAK,CAAC,YAAY,CAAC,GAC1E,OAAO,CAAC,KAAK,CAAC,SAAS,CAAC,CAE1B"}
@@ -1,4 +1,49 @@
1
- export { getQueryType, listQueryTypes } from '../chunk-UM4N5F6D.js';
2
- import '../chunk-PZ5AY32C.js';
3
- //# sourceMappingURL=QueryType.js.map
1
+ /*
2
+ * Copyright 2024 Palantir Technologies, Inc. All rights reserved.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ import { foundryPlatformFetch as $foundryPlatformFetch } from "@osdk/shared.net.platformapi";
17
+ //
18
+ const _listQueryTypes = [0, "/v1/ontologies/{0}/queryTypes", 2];
19
+ /**
20
+ * Lists the query types for the given Ontology.
21
+ *
22
+ * Each page may be smaller than the requested page size. However, it is guaranteed that if there are more
23
+ * results available, at least one result will be present in the response.
24
+ *
25
+ * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
26
+ *
27
+ * @public
28
+ *
29
+ * Required Scopes: [api:ontologies-read]
30
+ * URL: /v1/ontologies/{ontologyRid}/queryTypes
31
+ */
32
+ export function listQueryTypes($ctx, ...args) {
33
+ return $foundryPlatformFetch($ctx, _listQueryTypes, ...args);
34
+ }
35
+ const _getQueryType = [0, "/v1/ontologies/{0}/queryTypes/{1}"];
36
+ /**
37
+ * Gets a specific query type with the given API name.
38
+ *
39
+ * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
40
+ *
41
+ * @public
42
+ *
43
+ * Required Scopes: [api:ontologies-read]
44
+ * URL: /v1/ontologies/{ontologyRid}/queryTypes/{queryApiName}
45
+ */
46
+ export function getQueryType($ctx, ...args) {
47
+ return $foundryPlatformFetch($ctx, _getQueryType, ...args);
48
+ }
4
49
  //# sourceMappingURL=QueryType.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","file":"QueryType.js"}
1
+ {"version":3,"file":"QueryType.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_listQueryTypes","listQueryTypes","$ctx","args","_getQueryType","getQueryType"],"sources":["QueryType.js"],"sourcesContent":["/*\n * Copyright 2024 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { foundryPlatformFetch as $foundryPlatformFetch } from \"@osdk/shared.net.platformapi\";\n//\nconst _listQueryTypes = [0, \"/v1/ontologies/{0}/queryTypes\", 2];\n/**\n * Lists the query types for the given Ontology.\n *\n * Each page may be smaller than the requested page size. However, it is guaranteed that if there are more\n * results available, at least one result will be present in the response.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v1/ontologies/{ontologyRid}/queryTypes\n */\nexport function listQueryTypes($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _listQueryTypes, ...args);\n}\nconst _getQueryType = [0, \"/v1/ontologies/{0}/queryTypes/{1}\"];\n/**\n * Gets a specific query type with the given API name.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v1/ontologies/{ontologyRid}/queryTypes/{queryApiName}\n */\nexport function getQueryType($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getQueryType, ...args);\n}\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAASA,oBAAoB,IAAIC,qBAAqB,QAAQ,8BAA8B;AAC5F;AACA,MAAMC,eAAe,GAAG,CAAC,CAAC,EAAE,+BAA+B,EAAE,CAAC,CAAC;AAC/D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,cAAcA,CAACC,IAAI,EAAE,GAAGC,IAAI,EAAE;EAC1C,OAAOJ,qBAAqB,CAACG,IAAI,EAAEF,eAAe,EAAE,GAAGG,IAAI,CAAC;AAChE;AACA,MAAMC,aAAa,GAAG,CAAC,CAAC,EAAE,mCAAmC,CAAC;AAC9D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,YAAYA,CAACH,IAAI,EAAE,GAAGC,IAAI,EAAE;EACxC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEE,aAAa,EAAE,GAAGD,IAAI,CAAC;AAC9D","ignoreList":[]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@osdk/internal.foundry.ontologies",
3
- "version": "0.2.0-beta.8",
3
+ "version": "0.2.0-beta.9",
4
4
  "license": "Apache-2.0",
5
5
  "repository": {
6
6
  "type": "git",
@@ -17,14 +17,14 @@
17
17
  }
18
18
  },
19
19
  "dependencies": {
20
- "@osdk/internal.foundry.core": "0.2.0-beta.8",
21
- "@osdk/shared.client": "~1.0.0-beta.1",
22
- "@osdk/shared.net.platformapi": "~0.3.0-beta.1"
20
+ "@osdk/internal.foundry.core": "0.2.0-beta.9",
21
+ "@osdk/shared.client": "^1.0.0-beta.2",
22
+ "@osdk/shared.net.platformapi": "~0.3.0-beta.2"
23
23
  },
24
24
  "devDependencies": {
25
25
  "typescript": "^5.5.4",
26
- "@osdk/monorepo.api-extractor": "~0.0.0",
27
26
  "@osdk/monorepo.tsconfig": "~0.0.0",
27
+ "@osdk/monorepo.api-extractor": "~0.0.0",
28
28
  "@osdk/monorepo.tsup": "~0.0.0"
29
29
  },
30
30
  "publishConfig": {
@@ -44,7 +44,7 @@
44
44
  "sls": {
45
45
  "dependencies": {
46
46
  "com.palantir.foundry.api:api-gateway": {
47
- "minVersion": "1.927.0",
47
+ "minVersion": "1.934.0",
48
48
  "maxVersion": "1.x.x",
49
49
  "optional": true
50
50
  }
@@ -57,7 +57,6 @@
57
57
  "clean": "rm -rf lib dist types build tsconfig.tsbuildinfo",
58
58
  "fix-lint": "eslint . --fix && dprint fmt --config $(find-up dprint.json)",
59
59
  "lint": "eslint . && dprint check --config $(find-up dprint.json)",
60
- "transpile": "monorepo.tool.transpile",
61
- "typecheck": "monorepo.tool.typecheck esm"
60
+ "transpile": "monorepo.tool.transpile"
62
61
  }
63
62
  }
@@ -1,21 +0,0 @@
1
- import { __export } from './chunk-PZ5AY32C.js';
2
- import { foundryPlatformFetch } from '@osdk/shared.net.platformapi';
3
-
4
- // src/public/ActionType.ts
5
- var ActionType_exports = {};
6
- __export(ActionType_exports, {
7
- getActionType: () => getActionType,
8
- listActionTypes: () => listActionTypes
9
- });
10
- var _listActionTypes = [0, "/v1/ontologies/{0}/actionTypes", 2];
11
- function listActionTypes($ctx, ...args) {
12
- return foundryPlatformFetch($ctx, _listActionTypes, ...args);
13
- }
14
- var _getActionType = [0, "/v1/ontologies/{0}/actionTypes/{1}"];
15
- function getActionType($ctx, ...args) {
16
- return foundryPlatformFetch($ctx, _getActionType, ...args);
17
- }
18
-
19
- export { ActionType_exports, getActionType, listActionTypes };
20
- //# sourceMappingURL=chunk-5RUWELWF.js.map
21
- //# sourceMappingURL=chunk-5RUWELWF.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../src/public/ActionType.ts"],"names":["$foundryPlatformFetch"],"mappings":";;;;AAAA,IAAA,kBAAA,GAAA,GAAA;AAAA,QAAA,CAAA,kBAAA,EAAA;AAAA,EAAA,aAAA,EAAA,MAAA,aAAA;AAAA,EAAA,eAAA,EAAA,MAAA,eAAA;AAAA,CAAA,CAAA,CAAA;AAoBA,IAAM,gBAAmB,GAAA,CAAC,CAAG,EAAA,gCAAA,EAAkC,CAAC,CAAA,CAAA;AAezD,SAAS,eAAA,CAAgB,SAAS,IAAM,EAAA;AAC7C,EAAA,OAAOA,oBAAsB,CAAA,IAAA,EAAM,gBAAkB,EAAA,GAAG,IAAI,CAAA,CAAA;AAC9D,CAAA;AACA,IAAM,cAAA,GAAiB,CAAC,CAAA,EAAG,oCAAoC,CAAA,CAAA;AAYxD,SAAS,aAAA,CAAc,SAAS,IAAM,EAAA;AAC3C,EAAA,OAAOA,oBAAsB,CAAA,IAAA,EAAM,cAAgB,EAAA,GAAG,IAAI,CAAA,CAAA;AAC5D","file":"chunk-5RUWELWF.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 */\n\nimport { foundryPlatformFetch as $foundryPlatformFetch } from \"@osdk/shared.net.platformapi\";\n\n//\n\nconst _listActionTypes = [0, \"/v1/ontologies/{0}/actionTypes\", 2];\n\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/**\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}"]}
@@ -1,21 +0,0 @@
1
- import { __export } from './chunk-PZ5AY32C.js';
2
- import { foundryPlatformFetch } from '@osdk/shared.net.platformapi';
3
-
4
- // src/public/Ontology.ts
5
- var Ontology_exports = {};
6
- __export(Ontology_exports, {
7
- getOntology: () => getOntology,
8
- listOntologies: () => listOntologies
9
- });
10
- var _listOntologies = [0, "/v1/ontologies"];
11
- function listOntologies($ctx, ...args) {
12
- return foundryPlatformFetch($ctx, _listOntologies, ...args);
13
- }
14
- var _getOntology = [0, "/v1/ontologies/{0}"];
15
- function getOntology($ctx, ...args) {
16
- return foundryPlatformFetch($ctx, _getOntology, ...args);
17
- }
18
-
19
- export { Ontology_exports, getOntology, listOntologies };
20
- //# sourceMappingURL=chunk-ABHCL2BI.js.map
21
- //# sourceMappingURL=chunk-ABHCL2BI.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../src/public/Ontology.ts"],"names":["$foundryPlatformFetch"],"mappings":";;;;AAAA,IAAA,gBAAA,GAAA,GAAA;AAAA,QAAA,CAAA,gBAAA,EAAA;AAAA,EAAA,WAAA,EAAA,MAAA,WAAA;AAAA,EAAA,cAAA,EAAA,MAAA,cAAA;AAAA,CAAA,CAAA,CAAA;AAoBA,IAAM,eAAA,GAAkB,CAAC,CAAA,EAAG,gBAAgB,CAAA,CAAA;AAYrC,SAAS,cAAA,CAAe,SAAS,IAAM,EAAA;AAC5C,EAAA,OAAOA,oBAAsB,CAAA,IAAA,EAAM,eAAiB,EAAA,GAAG,IAAI,CAAA,CAAA;AAC7D,CAAA;AACA,IAAM,YAAA,GAAe,CAAC,CAAA,EAAG,oBAAoB,CAAA,CAAA;AAYtC,SAAS,WAAA,CAAY,SAAS,IAAM,EAAA;AACzC,EAAA,OAAOA,oBAAsB,CAAA,IAAA,EAAM,YAAc,EAAA,GAAG,IAAI,CAAA,CAAA;AAC1D","file":"chunk-ABHCL2BI.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 */\n\nimport { foundryPlatformFetch as $foundryPlatformFetch } from \"@osdk/shared.net.platformapi\";\n\n//\n\nconst _listOntologies = [0, \"/v1/ontologies\"];\n\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/**\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}"]}
@@ -1,31 +0,0 @@
1
- import { __export } from './chunk-PZ5AY32C.js';
2
- import { foundryPlatformFetch } from '@osdk/shared.net.platformapi';
3
-
4
- // src/public/ObjectType.ts
5
- var ObjectType_exports = {};
6
- __export(ObjectType_exports, {
7
- getObjectType: () => getObjectType,
8
- getOutgoingLinkType: () => getOutgoingLinkType,
9
- listObjectTypes: () => listObjectTypes,
10
- listOutgoingLinkTypes: () => listOutgoingLinkTypes
11
- });
12
- var _listObjectTypes = [0, "/v1/ontologies/{0}/objectTypes", 2];
13
- function listObjectTypes($ctx, ...args) {
14
- return foundryPlatformFetch($ctx, _listObjectTypes, ...args);
15
- }
16
- var _getObjectType = [0, "/v1/ontologies/{0}/objectTypes/{1}"];
17
- function getObjectType($ctx, ...args) {
18
- return foundryPlatformFetch($ctx, _getObjectType, ...args);
19
- }
20
- var _listOutgoingLinkTypes = [0, "/v1/ontologies/{0}/objectTypes/{1}/outgoingLinkTypes", 2];
21
- function listOutgoingLinkTypes($ctx, ...args) {
22
- return foundryPlatformFetch($ctx, _listOutgoingLinkTypes, ...args);
23
- }
24
- var _getOutgoingLinkType = [0, "/v1/ontologies/{0}/objectTypes/{1}/outgoingLinkTypes/{2}"];
25
- function getOutgoingLinkType($ctx, ...args) {
26
- return foundryPlatformFetch($ctx, _getOutgoingLinkType, ...args);
27
- }
28
-
29
- export { ObjectType_exports, getObjectType, getOutgoingLinkType, listObjectTypes, listOutgoingLinkTypes };
30
- //# sourceMappingURL=chunk-ATSSLGFA.js.map
31
- //# sourceMappingURL=chunk-ATSSLGFA.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../src/public/ObjectType.ts"],"names":["$foundryPlatformFetch"],"mappings":";;;;AAAA,IAAA,kBAAA,GAAA,GAAA;AAAA,QAAA,CAAA,kBAAA,EAAA;AAAA,EAAA,aAAA,EAAA,MAAA,aAAA;AAAA,EAAA,mBAAA,EAAA,MAAA,mBAAA;AAAA,EAAA,eAAA,EAAA,MAAA,eAAA;AAAA,EAAA,qBAAA,EAAA,MAAA,qBAAA;AAAA,CAAA,CAAA,CAAA;AAoBA,IAAM,gBAAmB,GAAA,CAAC,CAAG,EAAA,gCAAA,EAAkC,CAAC,CAAA,CAAA;AAgBzD,SAAS,eAAA,CAAgB,SAAS,IAAM,EAAA;AAC7C,EAAA,OAAOA,oBAAsB,CAAA,IAAA,EAAM,gBAAkB,EAAA,GAAG,IAAI,CAAA,CAAA;AAC9D,CAAA;AACA,IAAM,cAAA,GAAiB,CAAC,CAAA,EAAG,oCAAoC,CAAA,CAAA;AAYxD,SAAS,aAAA,CAAc,SAAS,IAAM,EAAA;AAC3C,EAAA,OAAOA,oBAAsB,CAAA,IAAA,EAAM,cAAgB,EAAA,GAAG,IAAI,CAAA,CAAA;AAC5D,CAAA;AACA,IAAM,sBAAyB,GAAA,CAAC,CAAG,EAAA,sDAAA,EAAwD,CAAC,CAAA,CAAA;AAarF,SAAS,qBAAA,CAAsB,SAAS,IAAM,EAAA;AACnD,EAAA,OAAOA,oBAAsB,CAAA,IAAA,EAAM,sBAAwB,EAAA,GAAG,IAAI,CAAA,CAAA;AACpE,CAAA;AACA,IAAM,oBAAA,GAAuB,CAAC,CAAA,EAAG,0DAA0D,CAAA,CAAA;AAapF,SAAS,mBAAA,CAAoB,SAAS,IAAM,EAAA;AACjD,EAAA,OAAOA,oBAAsB,CAAA,IAAA,EAAM,oBAAsB,EAAA,GAAG,IAAI,CAAA,CAAA;AAClE","file":"chunk-ATSSLGFA.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 */\n\nimport { foundryPlatformFetch as $foundryPlatformFetch } from \"@osdk/shared.net.platformapi\";\n\n//\n\nconst _listObjectTypes = [0, \"/v1/ontologies/{0}/objectTypes\", 2];\n\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/**\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/**\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/**\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}"]}
@@ -1,36 +0,0 @@
1
- import { __export } from './chunk-PZ5AY32C.js';
2
- import { foundryPlatformFetch } from '@osdk/shared.net.platformapi';
3
-
4
- // src/public/Action.ts
5
- var Action_exports = {};
6
- __export(Action_exports, {
7
- applyAction: () => applyAction,
8
- applyActionAsync: () => applyActionAsync,
9
- applyActionBatch: () => applyActionBatch,
10
- getAsyncActionStatus: () => getAsyncActionStatus,
11
- validateAction: () => validateAction
12
- });
13
- var _applyAction = [1, "/v1/ontologies/{0}/actions/{1}/apply", 1];
14
- function applyAction($ctx, ...args) {
15
- return foundryPlatformFetch($ctx, _applyAction, ...args);
16
- }
17
- var _applyActionBatch = [1, "/v1/ontologies/{0}/actions/{1}/applyBatch", 1];
18
- function applyActionBatch($ctx, ...args) {
19
- return foundryPlatformFetch($ctx, _applyActionBatch, ...args);
20
- }
21
- var _applyActionAsync = [1, "/v1/ontologies/{0}/actions/{1}/applyAsync", 3];
22
- function applyActionAsync($ctx, ...args) {
23
- return foundryPlatformFetch($ctx, _applyActionAsync, ...args);
24
- }
25
- var _getAsyncActionStatus = [0, "/v1/ontologies/{0}/actions/{1}/applyAsync/{2}", 2];
26
- function getAsyncActionStatus($ctx, ...args) {
27
- return foundryPlatformFetch($ctx, _getAsyncActionStatus, ...args);
28
- }
29
- var _validateAction = [1, "/v1/ontologies/{0}/actions/{1}/validate", 1];
30
- function validateAction($ctx, ...args) {
31
- return foundryPlatformFetch($ctx, _validateAction, ...args);
32
- }
33
-
34
- export { Action_exports, applyAction, applyActionAsync, applyActionBatch, getAsyncActionStatus, validateAction };
35
- //# sourceMappingURL=chunk-MONAXU3N.js.map
36
- //# sourceMappingURL=chunk-MONAXU3N.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../src/public/Action.ts"],"names":["$foundryPlatformFetch"],"mappings":";;;;AAAA,IAAA,cAAA,GAAA,GAAA;AAAA,QAAA,CAAA,cAAA,EAAA;AAAA,EAAA,WAAA,EAAA,MAAA,WAAA;AAAA,EAAA,gBAAA,EAAA,MAAA,gBAAA;AAAA,EAAA,gBAAA,EAAA,MAAA,gBAAA;AAAA,EAAA,oBAAA,EAAA,MAAA,oBAAA;AAAA,EAAA,cAAA,EAAA,MAAA,cAAA;AAAA,CAAA,CAAA,CAAA;AAoBA,IAAM,YAAe,GAAA,CAAC,CAAG,EAAA,sCAAA,EAAwC,CAAC,CAAA,CAAA;AAiB3D,SAAS,WAAA,CAAY,SAAS,IAAM,EAAA;AACzC,EAAA,OAAOA,oBAAsB,CAAA,IAAA,EAAM,YAAc,EAAA,GAAG,IAAI,CAAA,CAAA;AAC1D,CAAA;AACA,IAAM,iBAAoB,GAAA,CAAC,CAAG,EAAA,2CAAA,EAA6C,CAAC,CAAA,CAAA;AAoBrE,SAAS,gBAAA,CAAiB,SAAS,IAAM,EAAA;AAC9C,EAAA,OAAOA,oBAAsB,CAAA,IAAA,EAAM,iBAAmB,EAAA,GAAG,IAAI,CAAA,CAAA;AAC/D,CAAA;AACA,IAAM,iBAAoB,GAAA,CAAC,CAAG,EAAA,2CAAA,EAA6C,CAAC,CAAA,CAAA;AAiBrE,SAAS,gBAAA,CAAiB,SAAS,IAAM,EAAA;AAC9C,EAAA,OAAOA,oBAAsB,CAAA,IAAA,EAAM,iBAAmB,EAAA,GAAG,IAAI,CAAA,CAAA;AAC/D,CAAA;AACA,IAAM,qBAAwB,GAAA,CAAC,CAAG,EAAA,+CAAA,EAAiD,CAAC,CAAA,CAAA;AAQ7E,SAAS,oBAAA,CAAqB,SAAS,IAAM,EAAA;AAClD,EAAA,OAAOA,oBAAsB,CAAA,IAAA,EAAM,qBAAuB,EAAA,GAAG,IAAI,CAAA,CAAA;AACnE,CAAA;AACA,IAAM,eAAkB,GAAA,CAAC,CAAG,EAAA,yCAAA,EAA2C,CAAC,CAAA,CAAA;AAmBjE,SAAS,cAAA,CAAe,SAAS,IAAM,EAAA;AAC5C,EAAA,OAAOA,oBAAsB,CAAA,IAAA,EAAM,eAAiB,EAAA,GAAG,IAAI,CAAA,CAAA;AAC7D","file":"chunk-MONAXU3N.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 */\n\nimport { foundryPlatformFetch as $foundryPlatformFetch } from \"@osdk/shared.net.platformapi\";\n\n//\n\nconst _applyAction = [1, \"/v1/ontologies/{0}/actions/{1}/apply\", 1];\n\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/**\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/**\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/**\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/**\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}"]}
@@ -1,9 +0,0 @@
1
- var __defProp = Object.defineProperty;
2
- var __export = (target, all) => {
3
- for (var name in all)
4
- __defProp(target, name, { get: all[name], enumerable: true });
5
- };
6
-
7
- export { __export };
8
- //# sourceMappingURL=chunk-PZ5AY32C.js.map
9
- //# sourceMappingURL=chunk-PZ5AY32C.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","file":"chunk-PZ5AY32C.js"}
@@ -1,16 +0,0 @@
1
- import { __export } from './chunk-PZ5AY32C.js';
2
- import { foundryPlatformFetch } from '@osdk/shared.net.platformapi';
3
-
4
- // src/public/Query.ts
5
- var Query_exports = {};
6
- __export(Query_exports, {
7
- executeQuery: () => executeQuery
8
- });
9
- var _executeQuery = [1, "/v1/ontologies/{0}/queries/{1}/execute", 1];
10
- function executeQuery($ctx, ...args) {
11
- return foundryPlatformFetch($ctx, _executeQuery, ...args);
12
- }
13
-
14
- export { Query_exports, executeQuery };
15
- //# sourceMappingURL=chunk-SALCOSHR.js.map
16
- //# sourceMappingURL=chunk-SALCOSHR.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../src/public/Query.ts"],"names":["$foundryPlatformFetch"],"mappings":";;;;AAAA,IAAA,aAAA,GAAA,GAAA;AAAA,QAAA,CAAA,aAAA,EAAA;AAAA,EAAA,YAAA,EAAA,MAAA,YAAA;AAAA,CAAA,CAAA,CAAA;AAoBA,IAAM,aAAgB,GAAA,CAAC,CAAG,EAAA,wCAAA,EAA0C,CAAC,CAAA,CAAA;AAY9D,SAAS,YAAA,CAAa,SAAS,IAAM,EAAA;AAC1C,EAAA,OAAOA,oBAAsB,CAAA,IAAA,EAAM,aAAe,EAAA,GAAG,IAAI,CAAA,CAAA;AAC3D","file":"chunk-SALCOSHR.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 */\n\nimport { foundryPlatformFetch as $foundryPlatformFetch } from \"@osdk/shared.net.platformapi\";\n\n//\n\nconst _executeQuery = [1, \"/v1/ontologies/{0}/queries/{1}/execute\", 1];\n\n/**\n * Executes a Query using the given parameters. Optional parameters do not need to be supplied.\n * Third-party applications using this endpoint via OAuth2 must request the\n * following operation scopes: `api:ontologies-read`.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v1/ontologies/{ontologyRid}/queries/{queryApiName}/execute\n */\nexport function executeQuery($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _executeQuery, ...args);\n}"]}
@@ -1,21 +0,0 @@
1
- import { __export } from './chunk-PZ5AY32C.js';
2
- import { foundryPlatformFetch } from '@osdk/shared.net.platformapi';
3
-
4
- // src/public/QueryType.ts
5
- var QueryType_exports = {};
6
- __export(QueryType_exports, {
7
- getQueryType: () => getQueryType,
8
- listQueryTypes: () => listQueryTypes
9
- });
10
- var _listQueryTypes = [0, "/v1/ontologies/{0}/queryTypes", 2];
11
- function listQueryTypes($ctx, ...args) {
12
- return foundryPlatformFetch($ctx, _listQueryTypes, ...args);
13
- }
14
- var _getQueryType = [0, "/v1/ontologies/{0}/queryTypes/{1}"];
15
- function getQueryType($ctx, ...args) {
16
- return foundryPlatformFetch($ctx, _getQueryType, ...args);
17
- }
18
-
19
- export { QueryType_exports, getQueryType, listQueryTypes };
20
- //# sourceMappingURL=chunk-UM4N5F6D.js.map
21
- //# sourceMappingURL=chunk-UM4N5F6D.js.map